import Vue from 'vue'
import VueRouter from 'vue-router'
import MyList from "../views/List.vue"

Vue.use(VueRouter)


const routes = [
   {
    path: '/',
    name: '登录',
    component: () => import(/* webpackChunkName: "user" */ '../views/login.vue')
   },
    {
        path:'/mylist',
        name:'数据',
        component:MyList
    }
]

const router = new VueRouter({
  routes
})

export default router


